package com.wenbai.servicelightluxurystickers.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@TableName("stick_manage")
@Builder
public class StickManage implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long admin_id;

    private String admin_nickname;
    //头像
    private String admin_avatar;

    private String account;

    private String password_hash;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
